<?php

declare (strict_types=1);
namespace App\Model;

use Hyperf\DbConnection\Model\Model;
use Hyperf\ModelCache\Cacheable;
use Hyperf\ModelCache\CacheableInterface;
/**
 * @property string $ID 
 * @property string $LOGIN_NAME 
 * @property string $PHONE 
 * @property string $PASSWORD 
 * @property string $LOGIN_IP 
 * @property string $EMAIL 
 * @property string $MOBILE 
 * @property string $SEX 
 * @property string $WE_CHAT_ID 
 * @property string $SALT 
 * @property string $PHOTO 
 * @property string $USER_TYPE 
 * @property string $NAME 
 * @property string $OFFICE_ID 
 * @property string $OFFICE_NAME 
 * @property string $LOGIN_DATE 
 * @property string $ENABLE 
 * @property string $CREATE_BY 
 * @property string $CREATE_BY_NAME 
 * @property string $CREATE_DATE 
 * @property string $UPDATE_BY 
 * @property string $UPDATE_BY_NAME 
 * @property string $UPDATE_DATE 
 * @property string $REMARKS 
 * @property string $DEL_FLAG 
 * @property string $CODE 
 * @property string $DEVICE_TYPE 
 * @property string $DEVICE_CODE 
 * @property string $DEPARTMENT_ID 
 * @property string $DEPARTMENT_NAME 
 */
class RtUser extends Model implements CacheableInterface
{
    use Cacheable;
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'rt_user';
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = ['ID', 'LOGIN_NAME', 'PHONE', 'PASSWORD', 'LOGIN_IP', 'EMAIL', 'MOBILE', 'SEX', 'WE_CHAT_ID', 'SALT', 'PHOTO', 'USER_TYPE', 'NAME', 'OFFICE_ID', 'OFFICE_NAME', 'LOGIN_DATE', 'ENABLE', 'CREATE_BY', 'CREATE_BY_NAME', 'CREATE_DATE', 'UPDATE_BY', 'UPDATE_BY_NAME', 'UPDATE_DATE', 'REMARKS', 'DEL_FLAG', 'CODE', 'DEVICE_TYPE', 'DEVICE_CODE', 'DEPARTMENT_ID', 'DEPARTMENT_NAME'];
    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected $casts = ['ID' => 'string'];
}